package com.visitor.registration.entity;

import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class Visitor {
    
    private Long id;
    private String name;
    private String phone;
    private String company;
    private String position;
    private String type;
    private Integer typeId;
    private Integer provinceId;
    private Integer cityId;
    private LocalDateTime createdAt;
    
    // 非数据库字段，用于关联查询
    private Province province;
    private City city;
    private Type typeObj;
    private List<InterestArea> interestAreas;
} 